package com.acce.service.card.service;

import com.acce.service.card.exception.CommonException;
import com.acce.service.card.pojo.AccessCompany;
import com.acce.service.card.pojo.AccessUser;
import com.acce.service.card.pojo.ArgsPojo;

public interface IAccessService {

	boolean insertNotify(String notifyId) throws CommonException;
	
	boolean insertAccessUser(ArgsPojo args);
	
	boolean updateAccessUserSync(ArgsPojo args);
	
	boolean updateAccessUserLogin(ArgsPojo args);
	
	boolean updateAccessUserPwd(ArgsPojo args);
	
	boolean updateAccessUserInfo(ArgsPojo args);
	
	AccessUser getAccessUserById(String atUserId);
	
	AccessUser getAccessUserByRegisterNum(ArgsPojo args);
	
	AccessUser getAccessUserByUserAndPwd(ArgsPojo args);
	
	AccessCompany getAccessCompanyByPhoneNum(ArgsPojo args);
	
	AccessCompany getAccessCompanyByName(ArgsPojo args);
	
	AccessCompany getAccessCompanyById(ArgsPojo args);
	
	boolean insertAccessCompany(ArgsPojo args);
	
	boolean updateAccessCompanySync(ArgsPojo args);
	
	boolean updateAccessCompanyAttr(ArgsPojo args);
	
	boolean insertReceive(ArgsPojo args);
	
	boolean updateReceive(ArgsPojo args);
	
	boolean notifyVerify(ArgsPojo args);
	
}
